import request from '@/utils/request'

// 查询滞销管理看板数据列表
export function listUnsalableManage(query) {
  return request({
    url: '/business/unsalableBoard/list',
    method: 'get',
    params: query
  })
}

// 查询滞销数据复盘列表
export function unsalableReplayData(query) {
  return request({
    url: '/business/unsalableBoard/unsalableReplayData',
    method: 'get',
    params: query
  })
}

// 查询滞销汇总数据
export function getReplayCollectData(query) {
  return request({
    url: '/business/unsalableBoard/getReplayCollectData',
    method: 'get',
    params: query
  })
}

// 导出滞销复盘数据文件
export function exportUnsalableReplayData(data){
  return request({
    url: '/business/unsalableBoard/exportUnsalableReplayData',
    method: 'post',
    data: data
  })
}
